//Unit codes --- there is no error checking
//0 = Headquarters
//1 = Infantry Division
//2 = Small Corp
//3 = Large Corp
//4 = Army
//5 = Cavalry
//6 = Marine Division
//7 = Paratrooper Corp
//8 = Mountain Corp
//9 = Mechanized Corp
//10 = Armor
//11 = Air Superiority Group
//12 = Ground Attack Group
//13 = Tactical Air Group
//14 = Strategic Air Group
//15 = Submarine Group
//16 = Patrol Group
//17 = Cruiser Group
//18 = Battle Group

//advancement codes --- there is no error checking
//0 = Infantry
//1 = Anti-tank
//2 = Breakthrough
//3 = Heavy Armor
//4 = Interceptors
//5 = Escort Fighters
//6 = Fighter Bombers
//7 = Close Support
//8 = Strategic Bombing
//9 = Naval Air Training
//10 = Sonar and Electronics
//11 = Large Warships
//12 = Warships
//13 = Carrier Operations
//14 = Convoy Escort - not used for units
//15 = Attack Submarine
//16 = Long range Submarine

//UK special forces 1941
$GiveUnit
if_Date=1/1/1941
actionCountry=1
lifespan=tillTrigger
advancement=0
unitID=6
xyArea=126,67
$End

//UK special forces 1941
$GiveUnit
if_Date=4/1/1941
actionCountry=1
lifespan=tillTrigger
advancement=0
unitID=6
xyArea=126,67
$End

//UK special forces 1942
//only give if it didn't use the previous ones
$GiveUnit
if_Date=1/1/1942
landUnitInRadius=125,67,0,2,Allies
actionCountry=1
lifespan=tillTrigger
advancement=0
unitID=6
xyArea=126,67
$End

//UK special forces 1942
$GiveUnit
//only give if it didn't use the previous ones
if_Date=4/1/1942
landUnitInRadius=125,67,0,2,Allies
actionCountry=1
lifespan=tillTrigger
advancement=0
unitID=6
xyArea=126,67
$End


//Germany reinforces Gibraltar
$GiveUnit
if_Date=1/1/1939
xyControl=127,21,Axis
landUnitInRadius=127,21,0,0,Axis
actionCountry=6
lifespan=tillTrigger
unitID=3
xyArea=127,21
name=Gibraltar Fort Corps
$End

//German special forces 1940
//If UK is left empty
$GiveUnit
if_Date=7/1/1940
landUnitInRadius=132,63,0,9,Allies
actionCountry=6
lifespan=tillTrigger
advancement=0
unitID=6
xyArea=144,61
xyArea=144,61
$End

//German A.I. historical Uboat builds
//1940
$GiveUnit
if_Date=2/1/1940
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
$End

$GiveUnit
if_Date=5/1/1940
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
$End

$GiveUnit
if_Date=8/1/1940
actionCountry=6
lifespan=tillTrigger
advancement=16
unitID=15
xyArea=154,66
$End

$GiveUnit
if_Date=11/1/1940
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
$End

//1941
$GiveUnit
if_Date=2/1/1941
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
$End

$GiveUnit
if_Date=5/1/1941
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
$End

$GiveUnit
if_Date=8/1/1941
actionCountry=6
lifespan=tillTrigger
advancement=16
unitID=15
xyArea=154,66
$End

$GiveUnit
if_Date=11/1/1941
actionCountry=6
lifespan=tillTrigger
advancement=16
unitID=15
xyArea=154,66
$End

//1942
$GiveUnit
if_Date=2/1/1942
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
xyArea=154,66
$End

$GiveUnit
if_Date=5/1/1942
actionCountry=6
lifespan=tillTrigger
advancement=16
unitID=15
xyArea=154,66
xyArea=154,66
$End

$GiveUnit
if_Date=8/1/1942
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
xyArea=154,66
xyArea=154,66
$End

$GiveUnit
if_Date=11/1/1942
actionCountry=6
lifespan=tillTrigger
advancement=16
unitID=15
xyArea=154,66
xyArea=154,66
xyArea=154,66
xyArea=154,66
$End

//1943
$GiveUnit
if_Date=2/1/1943
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
xyArea=154,66
xyArea=154,66
xyArea=154,66
$End

$GiveUnit
if_Date=5/1/1943
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
xyArea=154,66
xyArea=154,66
xyArea=154,66
$End

$GiveUnit
if_Date=8/1/1943
actionCountry=6
lifespan=tillTrigger
advancement=16
unitID=15
xyArea=154,66
xyArea=154,66
xyArea=154,66
$End

$GiveUnit
if_Date=11/1/1943
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
xyArea=154,66
xyArea=154,66
$End

//1944
$GiveUnit
if_Date=2/1/1944
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
xyArea=154,66
xyArea=154,66
$End

$GiveUnit
if_Date=5/1/1944
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
xyArea=154,66
$End

$GiveUnit
if_Date=8/1/1944
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
xyArea=154,66
$End

$GiveUnit
if_Date=11/1/1944
actionCountry=6
lifespan=tillTrigger
advancement=15
unitID=15
xyArea=154,66
xyArea=154,66
$End

//Spain reinforces frontier if Axis line up to attack
$GiveUnit
if_Date=1/1/1939
landUnitInRadius=136,37,5,5,Axis
actionCountry=45
lifespan=tillTrigger
unitID=3
xyArea=140,37
xyArea=141,37
xyArea=135,39
$End

//Battle for France
//France Armor
$GiveUnit
if_Date=5/15/1940
actionCountry=2
lifespan=tillTrigger
unitID=10
xyArea=140,51
$End

//France Infantry
$GiveUnit
if_Date=5/15/1940
actionCountry=2
lifespan=tillTrigger
unitID=3
xyArea=140,51
$End

//BEF
$GiveUnit
if_Date=11/1/1939
actionCountry=1
lifespan=tillTrigger
unitID=3
xyArea=138,54
xyArea=139,54
$End

//BEF
$GiveUnit
if_Date=11/15/1939
actionCountry=1
lifespan=tillTrigger
unitID=0
xyArea=138,54
$End

//BEF
$GiveUnit
if_Date=11/15/1939
actionCountry=1
lifespan=tillTrigger
unitID=3
xyArea=139,54
$End

//Iceland garrison for UK
$GiveUnit
if_Date=1/1/1939
xyControl=99,83,Allies
actionCountry=1
lifespan=tillTrigger
unitID=1
xyArea=99,83
name=Iceland Gar
$End

//Norway Garrisons
$GiveUnit
if_Date=1/1/1939
xyControl=170,92,Axis
actionCountry=6
lifespan=tillTrigger
unitID=3
xyArea=170,92
name=Gebirgskorps Norwegen
$End

//Norway Garrisons
$GiveUnit
if_Date=1/1/1939
xyControl=170,92,Axis
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=148,75,1
xyArea=151,80,1
xyArea=162,86,1
$End

//German Armor for 1940
$GiveUnit
if_Date=3/1/1940
actionCountry=6
lifespan=tillTrigger
unitID=10
xyArea=154,60
$End

//German Armor for 1940
$GiveUnit
if_Date=5/1/1940
actionCountry=6
lifespan=tillTrigger
unitID=10
xyArea=151,55
$End

//German garrisons for france
$GiveUnit
if_Date=8/1/1940
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=149,59
$End

//German garrisons for france
$GiveUnit
if_Date=8/15/1940
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=149,59
$End

//German garrisons for france
$GiveUnit
if_Date=9/1/1940
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=149,59
$End

//German garrisons for france
$GiveUnit
if_Date=9/15/1940
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=149,59
$End

//German garrisons for france
$GiveUnit
if_Date=1/1/1941
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=149,59
$End

//German garrisons for france
$GiveUnit
if_Date=1/15/1941
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=149,59
$End

//German garrisons for france
$GiveUnit
if_Date=2/1/1941
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=149,59
$End

//In case the Germans are short garrisons we check and add more
$GiveUnit
if_Date=2/1/1940
if_Country=2
if_Surrender=true
//not enough garrisons
landUnitInRadius=140,51,-18,11,Axis
actionCountry=6
lifespan=once
unitID=1
advancement=0
xyArea=129,51
$End

$GiveUnit
if_Date=2/15/1940
if_Country=2
if_Surrender=true
//not enough garrisons
landUnitInRadius=140,51,-18,11,Axis
actionCountry=6
lifespan=once
unitID=1
advancement=0
xyArea=129,51
$End

$GiveUnit
if_Date=3/1/1940
if_Country=2
if_Surrender=true
//not enough garrisons
landUnitInRadius=140,51,-18,11,Axis
actionCountry=6
lifespan=once
unitID=1
advancement=0
xyArea=129,51
$End

$GiveUnit
if_Date=3/15/1940
if_Country=2
if_Surrender=true
//not enough garrisons
landUnitInRadius=140,51,-18,11,Axis
actionCountry=6
lifespan=once
unitID=1
advancement=0
xyArea=129,51
$End

$GiveUnit
if_Date=4/1/1940
if_Country=2
if_Surrender=true
//not enough garrisons
landUnitInRadius=140,51,-18,11,Axis
actionCountry=6
lifespan=once
unitID=1
advancement=0
xyArea=129,51
$End

//UK garrison for Cyprus
$GiveUnit
if_Date=1/1/1939
if_Country=7
if_Alliance=Axis
actionCountry=1
lifespan=tillTrigger
unitID=1
xyArea=194,20
advancement=1
$End

//Iceland anti sub garrison for UK
$GiveUnit
if_Date=1/1/1941
xyControl=99,83,Allies
actionCountry=1
lifespan=tillTrigger
unitID=14
advancement=10
xyArea=99,83
name=Iceland Coastal Command
$End

//St. Johns anti sub garrison for UK
$GiveUnit
if_Date=6/1/1941
xyControl=45,43,Allies
actionCountry=15
lifespan=tillTrigger
unitID=14
advancement=10
xyArea=45,43
name=St. Johns Coastal Command
$End

//Azores anti sub garrison for UK
$GiveUnit
if_Date=11/1/1943
xyControl=99,26,Allies
actionCountry=15
lifespan=tillTrigger
unitID=14
advancement=10
xyArea=100,26
name=Azores Coastal Command
$End

//German garrisons for france
$GiveUnit
if_Date=2/15/1941
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=149,59
$End

//UK Submarine in Malta to attack supply lines
$GiveUnit
if_Date=1/1/1941
actionCountry=1
xyControl=161,21,Allies
lifespan=tillTrigger
unitID=15
xyArea=161,21
$End

//Germany units for Yugoslavia
$GiveUnit
if_Date=3/1/1941
lifespan=tillTrigger
actionCountry=6
lifespan=tillTrigger
unitID=3
xyArea=164,47
xyArea=176,46
xyArea=169,45
xyArea=170,45
xyArea=171,45
$End

//Germany units for Spain
$GiveUnit
if_Date=3/14/1941
if_Country=45
if_Surrender=true
if_Plan=2
landUnitInRadius=130,32,0,3,Allies
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=130,32
xyArea=131,32
$End

//Germany units for Barbarossa
//in Finland
$GiveUnit
if_Date=1/1/1941
if_Country=4
if_Alliance=Allies
actionCountry=6
lifespan=tillTrigger
unitID=8
name=Nor. Gebirgskorps
xyArea=190,92
$End

//in Finland
$GiveUnit
if_Date=1/1/1941
if_Country=4
if_Alliance=Allies
actionCountry=6
lifespan=tillTrigger
unitID=3
xyArea=184,87
$End

$GiveUnit
if_Date=1/1/1941
if_Country=4
if_Alliance=Allies
actionCountry=6
lifespan=tillTrigger
unitID=10
xyArea=173,66
$End

$GiveUnit
if_Date=2/1/1941
if_Country=4
if_Alliance=Allies
actionCountry=6
lifespan=tillTrigger
unitID=3
xyArea=171,66
$End

$GiveUnit
if_Date=3/1/1941
actionCountry=6
lifespan=tillTrigger
unitID=3
xyArea=171,59
$End

$GiveUnit
if_Date=3/15/1941
actionCountry=6
lifespan=tillTrigger
unitID=10
xyArea=171,59
$End

$GiveUnit
if_Date=4/1/1941
actionCountry=6
lifespan=tillTrigger
unitID=9
xyArea=166,55
$End

//German units in Romania
$GiveUnit
if_Date=5/1/1941
xyControl=184,45,Axis
actionCountry=6
lifespan=tillTrigger
unitID=3
xyArea=184,45
$End

$GiveUnit
if_Date=5/15/1941
xyControl=184,45,Axis
actionCountry=6
lifespan=tillTrigger
unitID=3
xyArea=184,45
$End

//German units in Romania
$GiveUnit
if_Date=6/1/1941
xyControl=184,45,Axis
actionCountry=6
lifespan=tillTrigger
unitID=3
xyArea=184,45
$End

//German units in Romania
$GiveUnit
if_Date=6/15/1941
xyControl=184,45,Axis
actionCountry=6
lifespan=tillTrigger
unitID=10
xyArea=184,45
$End

//German garrisons for Russia
$GiveUnit
if_Date=3/1/1940
if_Country=6
xyControl=189,56,Axis
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=189,56
$End

$GiveUnit
if_Date=3/1/1940
if_Country=6
xyControl=189,46,Axis
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=189,46
name=4th Polizei Div
$End

$GiveUnit
if_Date=3/1/1940
if_Country=6
xyControl=192,53,Axis
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=191,52
name=201st Security Div
$End

$GiveUnit
if_Date=3/1/1940
if_Country=6
xyControl=197,51,Axis
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=194,50
name=203rd Security Div
$End

$GiveUnit
if_Date=3/1/1940
if_Country=6
xyControl=197,51,Axis
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=194,50
name=207th Security Div
$End

$GiveUnit
if_Date=3/1/1940
if_Country=6
xyControl=188,67,Axis
actionCountry=6
lifespan=tillTrigger
unitID=1
xyArea=187,66
name=213th Security Div
$End

//Russian units
//USSR Garrison southern border if Axis take Middle East
$GiveUnit
if_Date=1/1/1939
lifespan=tillTrigger
//Axis land unit within 12 hexes of Baku
landUnitInRadius=222,31,1,12,Axis
actionCountry=4
advancement=0
unitID=4
xyArea=221,31
xyArea=222,32
xyArea=222,31
xyArea=221,32
$End

//Vitebsk
$GiveUnit
if_Date=1/1/1941
xyControl=183,64,Axis
actionCountry=4
lifespan=tillTrigger
advancement=0
unitID=4
xyArea=188,76
xyArea=188,76
$End

//Stalino
$GiveUnit
if_Date=1/1/1941
xyControl=197,51,Axis
actionCountry=4
lifespan=tillTrigger
advancement=0
unitID=4
xyArea=201,50
xyArea=201,50
$End

//Moscow
$GiveUnit
if_Date=1/1/1941
xyControl=190,64,Axis
actionCountry=4
lifespan=tillTrigger
advancement=0
unitID=4
xyArea=198,64
$End

//Moscow
$GiveUnit
if_Date=1/1/1941
xyControl=190,64,Axis
actionCountry=4
lifespan=tillTrigger
advancement=3
unitID=10
xyArea=198,64
$End

//Rzhev
$GiveUnit
if_Date=1/1/1941
xyControl=188,67,Axis
actionCountry=4
lifespan=tillTrigger
advancement=0
unitID=4
xyArea=193,67
xyArea=193,67
$End

//Kursk
$GiveUnit
if_Date=1/1/1941
xyControl=189,56,Axis
actionCountry=4
lifespan=tillTrigger
advancement=0
unitID=4
xyArea=199,57
xyArea=199,57
$End

//Dnepropetrovsk
$GiveUnit
if_Date=1/1/1941
xyControl=192,48,Axis
actionCountry=4
lifespan=tillTrigger
advancement=0
unitID=4
xyArea=187,51
xyArea=187,51
$End

//Krasnodar
$GiveUnit
if_Date=1/1/1941
landUnitInRadius=207,52,1,4,Axis
actionCountry=4
lifespan=tillTrigger
advancement=0
unitID=4
xyArea=205,48
$End

//Krasnodar
$GiveUnit
if_Date=1/1/1941
landUnitInRadius=207,52,1,4,Axis
actionCountry=4
lifespan=tillTrigger
advancement=3
unitID=10
xyArea=205,48
$End

//Rostov
$GiveUnit
if_Date=1/1/1941
xyControl=205,48,Axis
actionCountry=4
lifespan=tillTrigger
advancement=0
unitID=4
xyArea=205,42
$End

//Rostov
$GiveUnit
if_Date=1/1/1941
xyControl=205,48,Axis
actionCountry=4
lifespan=tillTrigger
advancement=3
unitID=9
xyArea=205,42
$End

//Baku1
$GiveUnit
if_Date=1/1/1941
xyControl=205,42,Axis
actionCountry=4
lifespan=tillTrigger
advancement=0
unitID=4
xyArea=223,31
$End

//Baku1
$GiveUnit
if_Date=1/1/1941
xyControl=205,42,Axis
actionCountry=4
lifespan=tillTrigger
advancement=1
unitID=8
xyArea=223,31
$End

//Baku2
$GiveUnit
if_Date=1/1/1941
landUnitInRadius=215,38,1,3,Axis
actionCountry=4
lifespan=tillTrigger
advancement=0
unitID=4
xyArea=223,31
$End

//Baku2
$GiveUnit
if_Date=1/1/1941
landUnitInRadius=215,38,1,3,Axis
actionCountry=4
lifespan=tillTrigger
advancement=2
unitID=8
xyArea=223,31
$End

//USA HQ for AI
$GiveUnit
if_Date=3/1/1942
xyControl=132,71,Allies
actionCountry=3
lifespan=tillTrigger
unitID=0
xyArea=132,71
$End

//USA HQ for AI
$GiveUnit
if_Date=6/1/1940
xyControl=6,26,Allies
actionCountry=3
lifespan=tillTrigger
unitID=0
xyArea=8,24
$End

//USA HQ for AI
$GiveUnit
if_Date=1/1/1941
xyControl=3,24,Allies
actionCountry=3
lifespan=tillTrigger
unitID=0
xyArea=7,21
$End

//USA Units for Torch or invading Portugal #1
$GiveUnit
if_Date=1/1/1940
xyControl=6,26,Allies
actionCountry=3
lifespan=tillTrigger
unitID=3
xyArea=8,24
$End

//USA Units for Torch or invading Portugal #2
$GiveUnit
if_Date=1/1/1941
xyControl=3,24,Allies
actionCountry=3
lifespan=tillTrigger
unitID=10
xyArea=8,24
$End

//USA Garrison at Oran
$GiveUnit
if_Date=5/1/1942
xyControl=135,20,Allies
actionCountry=3
lifespan=tillTrigger
unitID=1
xyArea=135,20
$End

//USA strategic bombers
$GiveUnit
if_Date=7/15/1943
xyControl=135,61,Allies
actionCountry=3
lifespan=tillTrigger
unitID=14
xyArea=135,61
$End

$GiveUnit
if_Date=1/1/1944
xyControl=135,61,Allies
actionCountry=3
lifespan=tillTrigger
unitID=14
xyArea=135,63
$End

$GiveUnit
if_Date=4/1/1944
xyControl=135,61,Allies
actionCountry=3
lifespan=tillTrigger
unitID=14
xyArea=135,61
$End

//Germany - DAK HQ arrives in Africa
$GiveUnit
if_Date=3/1/1941
xyControl=160,14,Axis
lifespan=tillTrigger
actionCountry=6
//armor
unitID=0
name=Panzer Army Afrika
//Tripoli
xyArea=160,13
$End

//Germany - DAK arrives in Africa
$GiveUnit
if_Date=3/1/1941
xyControl=160,14,Axis
lifespan=tillTrigger
actionCountry=6
//armor
unitID=10
name=Das Afrika Korps
//Tripoli
xyArea=161,13
$End

//Germany - 90th Div arrives in Africa
$GiveUnit
if_Date=3/1/1942
xyControl=160,14,Axis
lifespan=tillTrigger
actionCountry=6
//armor
unitID=1
name=90th Light Div
//Tripoli
xyArea=159,14
$End

//Italy garrisons Athens
$GiveUnit
if_Date=1/1/1941
xyControl=177,26,Axis
if_Country=22
if_Surrender=true
lifespan=tillTrigger
actionCountry=7
unitID=2
//Athens
xyArea=177,26
$End

//Italy garrisons Crete
$GiveUnit
if_Date=1/1/1941
xyControl=179,20,Axis
if_Country=22
if_Surrender=true
lifespan=tillTrigger
actionCountry=7
unitID=2
//Crete
xyArea=179,20
$End

//UK - WDAF #1 arrives in Egypt
$GiveUnit
if_Date=3/1/1941
xyControl=195,8,Allies
lifespan=tillTrigger
actionCountry=1
//ftr
unitID=11
name=No. 204 Ftr
//Cairo port
xyArea=195,8
$End

//UK - WDAF #2 arrives in Egypt
$GiveUnit
if_Date=9/1/1941
xyControl=195,8,Allies
lifespan=tillTrigger
actionCountry=1
//support bomber
unitID=12
name=No. 212 Support
//Cairo port
xyArea=195,8
$End

//UK - Reinforcement in case Axis break through
$GiveUnit
if_Date=1/1/1940
landUnitInRadius=191,9,1,3,Axis
lifespan=tillTrigger
actionCountry=1
//Mech
unitID=9
name=VI Ind Motorized
xyArea=195,8
$End

//UK - Reinforcement in case Axis break through
$GiveUnit
if_Date=1/1/1940
landUnitInRadius=198,13,1,6,Axis
lifespan=tillTrigger
actionCountry=1
//infantry corp
unitID=3
name=II Col Corp
xyArea=195,8
$End

//UK HQ for AI in Italy
$GiveUnit
if_Date=1/1/1943
//must own Sicily
xyControl=160,26,Allies
xyControl=162,26,Allies
xyControl=162,24,Allies
actionCountry=1
lifespan=tillTrigger
unitID=0
xyArea=160,26
$End

//USA HQ for AI in Italy
$GiveUnit
if_Date=1/1/1943
//must own Sicily
xyControl=160,26,Allies
xyControl=162,26,Allies
xyControl=162,24,Allies
actionCountry=3
lifespan=tillTrigger
unitID=0
xyArea=162,24
$End

//matches changes in France 1943 change order
//German reinforcements France 1943
$GiveUnit
if_Date=1/15/1943
landUnitInRadius=135,51,0,5,Allies
lifespan=tillTrigger
actionCountry=6
unitID=3
xyArea=140,52
xyArea=136,53
$End

//German reinforcements France 1943
$GiveUnit
if_Date=3/15/1943
landUnitInRadius=135,51,0,5,Allies
lifespan=tillTrigger
actionCountry=6
unitID=2
xyArea=132,51
xyArea=141,57
$End

//German reinforcements France 1943
$GiveUnit
if_Date=6/15/1943
landUnitInRadius=135,51,0,5,Allies
lifespan=tillTrigger
actionCountry=6
unitID=10
xyArea=141,51
$End

//Germany 1944
$GiveUnit
if_Date=1/15/1944
landUnitInRadius=135,51,0,5,Allies
lifespan=tillTrigger
actionCountry=6
unitID=3
xyArea=135,53
xyArea=140,56
$End

//Germany 1944
$GiveUnit
if_Date=3/15/1944
landUnitInRadius=135,51,0,5,Allies
lifespan=tillTrigger
actionCountry=6
unitID=10
xyArea=138,51
$End


//Germany 1942 in Italy give garrisons
$GiveUnit
if_Date=1/15/1942
xyControl=142,23,Allies
lifespan=tillTrigger
actionCountry=6
unitID=2
xyArea=157,35
xyArea=166,32
$End

$GiveUnit
if_Date=1/15/1942
xyControl=142,23,Allies
lifespan=tillTrigger
actionCountry=6
unitID=3
xyArea=159,34
xyArea=163,31
$End

//Axis units for Tunisia after Allies invade North Africa
//If Vichy North Africa is invaded and Tunis is Allies
$GiveUnit
if_Date=1/1/1940
if_Country=55
if_Alliance=Axis
xyControl=160,14,Axis
lifespan=tillTrigger
actionCountry=6
unitID=10
xyArea=159,12
name=Afrika Panzer Corps
$End

//Allied units for North Africa
$GiveUnit
if_Date=3/1/1943
lifespan=tillTrigger
//Allies control Oran and the hexes beyond the river lines
xyControl=135,20,Allies
xyControl=132,19,Allies
xyControl=138,21,Allies
xyControl=136,19,Allies
//Allies short on land units near Oran
landUnitInRadius=135,20,-6,7,Allies
actionCountry=3
unitID=10
xyArea=135,20
$End

//Allied units for North Africa
$GiveUnit
if_Date=4/1/1943
lifespan=tillTrigger
//Allies control Oran and the hexes beyond the river lines
xyControl=135,20,Allies
xyControl=132,19,Allies
xyControl=138,21,Allies
xyControl=136,19,Allies
//Allies short on land units near Oran
landUnitInRadius=135,20,-7,7,Allies
actionCountry=3
unitID=3
xyArea=135,20
$End

//Allied units for North Africa
$GiveUnit
if_Date=5/1/1943
lifespan=tillTrigger
//Allies control Oran and the hexes beyond the river lines
xyControl=135,20,Allies
xyControl=132,19,Allies
xyControl=138,21,Allies
xyControl=136,19,Allies
//Allies short on land units near Oran
landUnitInRadius=135,20,-8,7,Allies
actionCountry=3
unitID=3
xyArea=135,20
$End

$GiveUnit
if_Date=1/1/1940
if_Country=55
if_Alliance=Axis
xyControl=160,14,Axis
lifespan=tillTrigger
actionCountry=6
unitID=0
xyArea=159,12
name=Afrika 5th Panzer Army
$End

$GiveUnit
if_Date=1/1/1940
if_Country=55
if_Alliance=Axis
xyControl=160,14,Axis
lifespan=tillTrigger
actionCountry=6
unitID=3
xyArea=159,12
name=Weber Corps
$End

$GiveUnit
if_Date=1/1/1940
if_Country=55
if_Alliance=Axis
xyControl=160,14,Axis
lifespan=tillTrigger
actionCountry=7
unitID=2
name=XXX Corps
xyArea=159,12
$End

$GiveUnit
if_Date=1/1/1940
if_Country=55
if_Alliance=Axis
xyControl=160,14,Axis
lifespan=tillTrigger
actionCountry=6
unitID=1
name=Arab Lehr Div
xyArea=159,12
$End

//Germany gets mountain corp if Italy surrenders
$GiveUnit
if_Date=1/15/1943
if_Country=7
if_Surrender=true
xyControl=152,42,Axis
lifespan=tillTrigger
actionCountry=6
unitID=8
xyArea=152,42
$End

//Germany gets mountain corp if Italy surrenders
$GiveUnit
if_Date=1/15/1943
if_Country=7
if_Surrender=true
xyControl=156,41,Axis
lifespan=tillTrigger
actionCountry=6
unitID=8
xyArea=156,41
$End